package com.luom.springbootinit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luom.springbootinit.model.dto.category.CategoryQueryRequest;
import com.luom.springbootinit.model.entity.Category;
import com.luom.springbootinit.model.vo.CategoryVO;

import java.util.List;

/**
* @author 28713
* @description 针对表【category(图书类型)】的数据库操作Mapper
* @createDate 2024-09-07 21:28:22
* @Entity generator.domain.Category
*/
public interface CategoryMapper extends BaseMapper<Category> {

    Integer getBorrowCountByCategoryId(Integer categoryId);

    List<CategoryVO> getCategoryVOPageL(CategoryQueryRequest categoryQueryRequest);
}




